Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Selecting an Input Source


VDGetInputFormat

The VDGetInputFormat function allows applications to determine the format of the video signal provided by a specified video input source.

pascal VideoDigitizerError VDGetInputFormat 
                                 (VideoDigitizerComponent ci,
                                  short input, short *format);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
input
Specifies the input video source for this request. Video digitizer components number video sources sequentially, starting at 0. So, to request information about the first video source, an application sets this parameter to 0. Applications can get the number of video sources supported by a video digitizer component by calling the VDGetNumberOfInputs function, discussed on page 8-31.
format
Contains a pointer to a short integer that is to receive the specification of the video format of the specified input source. This function updates the field referred to by the format parameter. Valid values are
compositeIn
The input video signal is in composite format
sVideoIn
The input video signal is in s-video format
rgbComponentIn
The input video signal is in RGB component format
DESCRIPTION
Video digitizer components support three video formats: composite video, s-video, and component video (RGB signal).

All video digitizer components must support this function.

RESULT CODES
noErr0No error
qtParamErr-2202Invalid parameter value

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help